$color-red: #EA3323;
$color-blue: #3E82F4;
$color-black2: #333333;

.color-red {
    color: $color-red;
}

.color-black2 {
    color: $color-black2;
}

.mt24 {
    margin-top: 24px;
}

.fb {
    font-weight: bold
}

.fs18 {
    font-size: 18px;
    font-weight: 600;
}

.fs30 {
    font-size: 30px;
}

.w_100 {
    width: 100%;
}

.flex {
    display: flex;
}
.mobileBox{
    display: none;
}
.main {
    padding-top: 80px;
    width: 100%;
    position: relative;

    :deep(.orderDialog) {
        width: 1036px;
        --el-dialog-padding-primary: 0px;
        border-radius: 20px;

        .el-dialog__header {
            padding: 20px;
        }

        .orderBg {
            background: linear-gradient(141deg, #F7F9FA 0%, #FFF5F7 100%);
            border-radius: 20px;
            padding: 34px;

            .price {
                font-size: 24px;
                color: #FF0000;
                align-items: baseline;
            }

            .orderItems {
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;
                cursor: pointer;

                .orderItem {
                    width: 296px;
                    height: 206px;
                    border-radius: 9px;
                    position: relative;
                    background-color: #ffffff;
                    border: 1px solid #ffffff;
                    padding: 18px;
                    box-sizing: border-box;

                    &.active {
                        background: #FEF9F5;
                        border: 1px solid #EB5E53;
                    }
                    .orderTag{
                        position: absolute;
                        left: -1px;
                        top: -1px;
                        width: 64px;
                        height: 21px;
                        background: linear-gradient( 94deg, #EC5C54 0%, #EC7451 100%);
                        border-radius: 10px 0px 0px 0px;
                        font-size: 14px;
                        line-height: 21px;
                        text-align: center;
                        color: #ffffff;
                    }
                    .price {
                        margin-bottom: 20px;
                    }

                    .title {
                        margin-top: 29px;
                        line-height: 28px;
                        font-size: 16px;
                        color: $color-black2;
                        height: 60px;
                    }

                    .button {
                        border-radius: 4px;
                        border: 1px solid #AF8A65;
                        padding: 5px 0;
                        text-align: center;
                        color: #AF8A65;
                        font-size: 16px;
                    }
                }
            }

            .orderBottom {

                margin-top: 36px;
                background: rgba(255, 255, 255, 0.5);
                border-radius: 10px;
                border: 1px solid #FFFFFF;
                padding: 18px;
                justify-content: space-between;

                p {
                    margin: 0;
                }

                .payCode {
                    .el-image {
                        width: 100px;
                        height: 100px;
                    }

                    .image-slot {
                        display: flex;
                        flex-direction: column;
                        justify-content: center;
                        align-items: center;
                        width: 100%;
                        height: 100%;
                        background: var(--el-fill-color-light);
                        color: var(--el-text-color-secondary);
                        font-size: 14px;
                    }

                    .dot {
                        animation: dot 2s infinite steps(3, start);
                        overflow: hidden;
                    }
                }

                .payItem {
                    p {
                        color: $color-black2;
                        font-size: 16px;
                    }

                    .needPrice {
                        align-items: baseline;
                        margin-bottom: 13px;

                    }

                    .wechatPay {
                        align-items: center;

                        img {
                            width: 28px;
                            height: 28px;
                            margin-right: 10px;
                        }
                    }
                }

                .inputItem {
                    width: 242px;

                    .inputText {
                        color: #4A7AFF;
                        cursor: pointer;
                        margin-bottom: 20px
                    }

                    .inputBox {
                        align-items: center;

                        .payInput {
                            width: auto;
                            margin-right: 10px;
                            .el-input__inner:focus{
                                padding:0
                            }
                        }
                        .el-button{
                            margin-right: 10px
                        }
                        .cancelCode {
                            cursor: pointer;
                            width: 40px;
                        }
                    }
                }

                .introItem {
                    width: 280px;
                    font-size: 14px;
                    color: #666666;

                    .intro-left {
                        flex: none;
                        margin-right: 30px;

                        span {
                            display: flex;
                            align-items: center;
                        }
                    }
                }
            }
        }
    }

    .bgCon {
        width: 100%;
        height: 1170px;
        background: linear-gradient(51deg, rgba(255, 149, 145, 0.08) 0%, rgba(221, 250, 208, 0.24) 52%, rgba(190, 255, 255, 0.51) 100%);
        filter: blur(50px);
        position: fixed;
        z-index: -1;

        .bgConChild {
            position: absolute;
            filter: blur(50px);
        }

        .bgConChild1 {
            position: absolute;
            left: 384px;
            top: 20px;
            width: 812px;
            height: 572px;
            border-radius: 50%;
            background: linear-gradient(226deg, rgba(114, 177, 240, 0.6) 0%, #CAFFC6 100%);
            opacity: 0.2;
        }

        .bgConChild2 {
            left: 100px;
            top: 538px;
            width: 661px;
            height: 597px;
            background: linear-gradient(37deg, #FAFEEA 0%, #E6EBFF 100%);
        }

        .bgConChild3 {
            right: 100px;
            top: 336px;
            width: 587px;
            height: 669px;
            background: linear-gradient(134deg, #FFEB98 0%, #CAFFC6 100%);
            opacity: 0.2;
        }
    }

    .conWarp {
        width: 1200px;
        margin: 10px auto 30px auto;

        .conWarp-box {
            display: flex;
            margin-top: 24px;

            .conWarp-left {
                width: 867px;
            }

            .conWarp-right {
                width: 308px;
                margin-left: 25px;
            }
        }

    }

    @media screen and (max-width: 1280px) {
        .conWarp {
            max-width: 1200px;
            width: 100%;
            .conWarp-box{
                .conWarp-left {
                    width: 100%;
                    max-width: 867px;
                }
    
                .conWarp-right {
                    max-width: 308px;
                    width: auto;
                    margin-left: 25px;
                }
            }

        }
    }
    .tag {
        display: inline-block;
        margin-right: 10px;
        padding: 0 10px;
        height: 32px;
        line-height: 32px;
        background: #F6F7F9;
        border-radius: 18px;
        font-size: 14px;
        color: #666666;
        text-align: center;
    }

    .videoCon{
        .mobileBack{
            position: absolute;
            left: 0;
            top: 0;
        }
        iframe{
            height: 53vh;
            width: 100% !important;
        }
    }

    .titleCon {
        width: 100%;
        box-sizing: border-box;
        height: 80px;
        display: flex;
        align-items: center;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 10px;
        border: 1px solid #FFFFFF;
        padding: 0 1rem;
        position: relative;

        .back {
            cursor: pointer;
            position: absolute;
            width: 80px;
            height: 80px;
            background: rgba(255, 255, 255, 0.6);
            border-radius: 10px;
            border: 2px solid #FFFFFF;
            left: -100px;

            img {
                width: 80px;
                height: 80px;
            }
        }


        .title {
            margin: 0;
            font-weight: 500;
            font-size: 30px;
            color: $color-black2;
            text-align: left;
            font-style: normal;
            text-transform: none;
        }
    }

    .likeCon {
        margin-top: 24px;
        padding: 0 32px;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 10px 10px 10px 10px;
        border: 1px solid #FFFFFF;
        box-sizing: border-box;

  
        .likeItems{
            display: flex;
            align-items: center;
            width: 100%;
            height: 80px;

        }
        .likeItem {
            display: flex;
            align-items: center;
            width: 120px;
            margin-right: 20px;
            img {
                width: 40px;
                height: 40px;
                margin-right: 12px;
                cursor: pointer;
            }
        }
  
    }

    .detailCon {
        margin-top: 24px;
        width: 100%;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 10px 10px 10px 10px;
        border: 1px solid #FFFFFF;
        padding: 30px;
        box-sizing: border-box;

        .title {
            font-weight: 500;
            font-size: 26px;
            color: $color-black2;
            text-align: left;
            font-style: normal;
            text-transform: none;
            margin: 0 0 30px 0;
        }
    }

    .rightBg {
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
    }

    .right-title {
        padding: 20px 0;
        font-weight: bold;
    }

    .rightItem {
        background: #FFFFFF;
        border-radius: 10px;
        position: relative;
        padding: 14px 13px;

        .p13 {
            padding: 13px;
        }

        .conTitle {
            display: flex;
            align-items: center;
            margin-bottom: 20px;

            img {
                width: 28px;
                height: 28px;
                margin-right: 10px
            }

            h1 {
                font-size: 22px;
                color: $color-black2;
                font-weight: 500;
                margin: 0;
                padding-bottom: 4px;
            }
        }
    }

    .priceCon {
        height: 487.68px;
        box-sizing: border-box;
        padding: 22px 25px;
        width: 100%;

        .buyBox {
            padding: 20px 0;
            border-bottom: 1px solid #EAEAEA;

            .buyBtn {
                width: 100%;
                font-size: 20px;
                background-color: $color-blue;
                height: 56px;
                border-radius: 10px;
            }
        }

        .tags {
            height: 90px;


        }

        .intro {
            height: auto;
        }
    }

    .docCon {
        .conTitle {
            img {
                margin: 0 10px;
            }
        }

        .el-collapse {
            border-top: none;
            border-bottom: none;

            :deep(.el-collapse-item__header) {
                margin-bottom: 10px;
                border-bottom: none;
            }

            ul {
                padding-left: 0;

                li {
                    padding: 10px 12px;
                    border-radius: 8px;
                    font-size: 14px;
                    cursor: pointer;
                    &.active {
                        background-color: #F1F2F4;
                        color: #FF8D8D;
                    }
                }
                li:hover{
                    color: #096faa;
                }
            }
        }

    }

    .advantageCon {
        .icons {
            display: flex;
            margin-top: 30px;
            justify-content: space-around;

            .iconItem {
                display: flex;
                flex-direction: column;
                align-items: center;

                img {
                    width: 35px;
                    height: 35px;
                }
            }
        }

        .bottomBox {
            padding: 10px 13px;
            background-color: #F8F9FB;
            border-radius: 10px;

            p {
                margin: 0;
            }

            .content {
                font-size: 15px;
                color: #373535;
                line-height: 20px;
                padding-bottom: 15px;
            }

            .imgBox {
                text-align: right;

                img {
                    width: 136px;
                }
            }

            .tip {
                text-align: center;
                margin-top: 20px;
                color: #0c0c0c;
                font-size: 12px;
            }
        }
    }

    .timeCon {
        .el-timeline {
            padding-left: 5px
        }

        .dotBox {
            position: absolute;
            left: -4px;
            top: -1px;
            display: flex;
            justify-content: center;
            align-items: center;

            .dot-out {
                width: 20px;
                height: 20px;
                background: #4983F4;
                filter: blur(2px);
                z-index: 0;
                border-radius: 50%;
            }

            .dot-inner {
                position: absolute;
                width: 12px;
                height: 12px;
                background: #ffffff;
                border-radius: 50%;
            }
        }

    }




}

@media screen and (max-width:768px) {
    .mobileBox{
        display: block;
    }
    .main {
        padding-top: 0;
        padding: 10px;
        box-sizing: border-box;
        :deep(.orderDialog) {
            width: 80%;

            .el-dialog__header {
                padding: 10px;
            }

            .orderBg {
                padding: 10px;

                .price {
                    font-size: 16px;
                }

                .orderItems {
                    display: grid;
                    grid-template-columns: repeat(2, 1fr);
                    grid-gap: 10px;

                    .orderItem {
                        width: auto;
                        height: auto;
                        padding: 8px;

                        .orderTag{
                            width: 50px;
                            height: 16px;
                            font-size: 10px;
                            line-height: 16px;
                        }
                        .price {
                            margin-bottom: 18px;
                        }

                        .title {
                            margin-top: 15px;
                            line-height: 14px;
                            font-size: 12px;
                            margin-bottom: 5px;
                            height: 35px;
                        }

                        .button {
                            font-size: 12px;
                        }
                    }
                }

                .orderBottom {
                    margin-top: 10px;
                    padding: 10px;
                    flex-wrap: wrap;

                    .payCode {
                        margin-bottom: 10px;
                    }

                    .payItem {
                        p {
                            font-size: 12px;
                        }

                        .wechatPay {
                            img {
                                width: 20px;
                                height: 20px;
                                margin-right: 10px;
                            }
                        }
                    }

                    .inputItem {
                        margin-bottom: 10px;
                    }
                }
            }

        }
        :deep(.showListDialog){
            width: 90%;
            ul{
                list-style: none;
                padding-left: 0;
                li{
                    padding: 10px 0;
                    font-size: 16px;
                }
            }
        }
        .conWarp {
            margin: 0;
            .conWarp-box {
                margin-top: 0;
                .conWarp-right {
                    display: none;
                }
            }
        }
        .videoCon{
            position: relative;
            iframe{
                height: 25vh;
            }
        }

        .titleCon {
            display: none;
        }
        .likeCon{
            margin-top: 0;
            padding: 10px;
            .title{
                margin-bottom: 10px;
                font-size: 16px;
            }
            .tags{
                margin-bottom: 10px;
            }
            .productIntro{
                font-size: 14px;
            }
            .likeItem{
                width: 50px;
                margin-right: 10px;
                img{
                    width: 20px;
                    height: 20px;
                    margin-right: 5px;
                }
            
            }
 
            .likeBottom{
                display: flex;
                justify-content: space-between;
                align-items: center;
                box-shadow: 0px 3px 6px 1px rgba(0,0,0,0.1);
                border: 1px solid #FFFFFF;
                border-radius: 10px;
                padding: 10px;
                position: relative;
                .mobileBg{
                    position: absolute;
                    z-index: -1;
                    left: 0;
                    top: 0;
                    width: 100%;
                }
            }
        }
        .detailCon{
            margin-top: 10px;
            padding: 10px;
            .title{
                font-size: 16px;
            }
        }
    }
}